package com.zklh.book.other.order.model;

/**
 * 订单
 *
 * @author 坐看落花
 * @version 1.0
 * @date 2021/5/9 8:38
 */
public class Order {

    // 购买的商品名称
    private String productName;

    // 购买该商品的数量
    private int amount;


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public Order() {
    }

    public Order(String productName, int amount) {
        this.productName = productName;
        this.amount = amount;
    }
}
